package com.ucode.model.cgms.enums;

import com.ucode.tool.base.ResultCode;

/**
 * 系统业务返回值代码
 * 错误码区间 [1-100-000-000 ~ 1-101-000-000)
 * @author liliang
 * @date: 2019年12月6日 上午11:05:25
 */
public interface CgmsSysResultCodeEnum {

    ResultCode COMPANION_USER_NOT_EXISTS = new ResultCode(1000005007, "您还没有申请陪玩，请去申请入驻");
    ResultCode COMPANION_USER_NOT_REAPPLY = new ResultCode(1000005007, "您已是陪玩用户，请勿重复申请");
    ResultCode COMPANION_USER_UNDER_REVIEW = new ResultCode(1000005007, "您陪玩入驻申请，正在审核中");
    ResultCode COMPANION_USER_NOT_APPLY = new ResultCode(1000005007, "陪玩入驻申请，不处于审核状态，请刷新后重试");

    ResultCode SPECIAL_ZONE_NOT_EXISTS = new ResultCode(1000005007, "专区不存在");
    ResultCode SPECIAL_ZONE_DISABLED = new ResultCode(1000005008, "专区已禁用");

    ResultCode COMPANION_CATEGORY_NOT_EXISTS = new ResultCode(1000005007, "专区分类不存在");
    ResultCode COMPANION_CATEGORY_ZONE_DISABLED = new ResultCode(1000005008, "专区分类已禁用");

    ResultCode GIFT_NOT_EXISTS = new ResultCode(1000005007, "礼物不存在");
    ResultCode GIFT_ZONE_DISABLED = new ResultCode(1000005008, "礼物已禁用");

    ResultCode COMPANION_PRODUCT_NOT_EXITS = new ResultCode(1000005000, "服务商品不存在或已删除，请刷新后重新选择");
    ResultCode COMPANION_PRODUCT_NOT_RELEASE = new ResultCode(1000005000, "服务商品未上架，请刷新后重新选择");

    // 佣金流水模块
    ResultCode COMMISSION_FLOW_NOT_EXISTS = new ResultCode(1000005100, "佣金流水不存在或已删除");

    ResultCode COMPANION_ORDER_NOT_EXISTS = new ResultCode(1000005007, "订单不存在");
    ResultCode COMPANION_ORDER_STATUS_CHANGING = new ResultCode(1000005000, "订单状态已变更,请刷新后操作");
    ResultCode COMPANION_ORDER_STATUS_IS_NOT_WAITING = new ResultCode(1000005000, "订单不处于待支付");
    ResultCode COMPANION_ORDER_STATUS_IS_NOT_PENDING_CONFIRM = new ResultCode(1000005000, "订单不处于接单待确认状态");
    ResultCode COMPANION_ORDER_STATUS_IS_NOT_REJECTED = new ResultCode(1000005000, "订单不处于可以驳回状态");
    ResultCode COMPANION_ORDER_AMOUNT_NOT_EQUALS = new ResultCode(1000005000, "订单金额与支付金额不一致");
    ResultCode COMPANION_ORDER_IS_EXPIRED = new ResultCode(1000005000, "订单已过期,请重新下单");
    ResultCode COMPANION_ORDER_STATUS_IS_NOT_IN_SERVICE = new ResultCode(1000005000, "订单不处于服务中状态");
    ResultCode COMPANION_ORDER_STATUS_IS_NOT_END_SERVICE = new ResultCode(1000005000, "订单不处于服务结束状态");
    ResultCode COMPANION_ORDER_COMMENT_FAIL_STATUS_NOT_COMPLETED = new ResultCode(1000005000, "订单不处于已完成状态");
    ResultCode COMPANION_ORDER_DELETE_FAIL_STATUS_NOT_CANCEL = new ResultCode(1000005000, "订单删除失败，订单不处于可删除状态");
    ResultCode COMPANION_ORDER_SUB_AMOUNT_IS_MORE_THAN_PAY_PRICE = new ResultCode(1000005000, "订单分账金额不能大于订单支付金额");

    ResultCode COMPANION_ORDER_EXIST_AFTER_SALES_ORDER = new ResultCode(1000005000, "订单已存在进行中的售后申请,请处理完后再次申请");

    ResultCode COMPANION_ORDER_DESIGNATE_FAIL = new ResultCode(1000080004, "派单失败，订单已被抢走");
    ResultCode COMPANION_ORDER_SNATCH_FAIL = new ResultCode(1000080004, "抢单失败，订单已被抢走");



    ResultCode DATA_NOT_PASS = new ResultCode(1000080004, "审核通过或者未删除的才能更新状态");

    ResultCode AFTERSALE_COMPANION_ORDER_NOT_EXISTS = new ResultCode(1000005007, "售后订单不存在");
    ResultCode AFTERSALE_COMPANION_ORDER_CREATE_FAIL_REFUND_QUANTITY_ERROR = new ResultCode(1000005007, "售后订单创建失败,退款金额异常");
    ResultCode AFTERSALE_COMPANION_ORDER_STATUS_IS_NOT_APPLY = new ResultCode(1000005007, "售后订单不处于申请中状态");
    ResultCode AFTERSALE_COMPANION_ORDER_STATUS_IS_NOT_SELLER_AGREE = new ResultCode(1000005007, "售后订单不处于退款中状态");
    ResultCode AFTERSALE_COMPANION_ORDER_AMOUNT_NOT_EQUALS = new ResultCode(1000005007, "售后订单与渠道退款金额不一致");
    ResultCode AFTERSALE_COMPANION_ORDER_DELETE_ERROR = new ResultCode(1000005007, "售后订单不处于可删除状态");

    //========== 俱乐部社区打赏订单模块 [1-000-110-000 ~ 1-000-111-000)=========//
    ResultCode REWARD_ORDER_NOT_EXISTS = new ResultCode(1000005007, "打赏订单不存在");
    ResultCode REWARD_ORDER_STATUS_CHANGING = new ResultCode(1000005000, "打赏订单状态已变更,请刷新后操作");
    ResultCode REWARD_ORDER_STATUS_IS_NOT_WAITING = new ResultCode(1000005000, "打赏订单不处于待支付");
    ResultCode REWARD_ORDER_STATUS_IS_NOT_PENDING_CONFIRM = new ResultCode(1000005000, "打赏订单不处于待确认状态");
    ResultCode REWARD_ORDER_STATUS_IS_NOT_REJECTED = new ResultCode(1000005000, "打赏订单不处于可以驳回状态");
    ResultCode REWARD_ORDER_AMOUNT_NOT_EQUALS = new ResultCode(1000005000, "打赏订单金额与支付金额不一致");
    ResultCode REWARD_ORDER_IS_EXPIRED = new ResultCode(1000005000, "打赏订单已过期,请重新下单");
    ResultCode REWARD_ORDER_DELETE_FAIL_STATUS_NOT_CANCEL = new ResultCode(1000005000, "打赏订单删除失败，订单不处于可删除状态");

    //========== 俱乐部社区订单模块 [1-000-120-000 ~ 1-000-121-000)=========//
    ResultCode CLUB_ORDER_NOT_EXISTS = new ResultCode(1000005007, "俱乐部订单不存在");
    ResultCode CLUB_ORDER_STATUS_CHANGING = new ResultCode(1000005000, "俱乐部订单状态已变更,请刷新后操作");


    ResultCode PAY_REFUND_PRICE_EXCEED = new ResultCode(1000010003, "退款金额超过订单可退款金额");
    ResultCode PAY_REFUND_HAS_REFUNDING = new ResultCode(1000010003, "已经有退款在处理中");
    ResultCode PAY_REFUND_EXISTS = new ResultCode(1000010003, "已经存在退款单");
    ResultCode PAY_REFUND_NOT_FOUND = new ResultCode(1000010003, "支付退款单不存在");
    ResultCode PAY_REFUND_STATUS_IS_NOT_WAITING = new ResultCode(1000010003, "支付退款单不处于待退款");


    ResultCode PAY_NOTIFY_LOG_NOT_FOUND = new ResultCode(1000010003, "支付通知日志不存在");


    ResultCode WALLET_NOT_FOUND = new ResultCode(1000010004, "俱乐部钱包不存在,请开通钱包");
    ResultCode WALLET_BALANCE_NOT_ENOUGH = new ResultCode(1000010004, "钱包余额不足");
    ResultCode WALLET_TRANSACTION_NOT_FOUND = new ResultCode(1000010004, "未找到对应的钱包交易");
    ResultCode WALLET_REFUND_EXIST = new ResultCode(1000010004, "已经存在钱包退款");
    ResultCode WALLET_FREEZE_PRICE_NOT_ENOUGH = new ResultCode(1000010004, "钱包冻结余额不足");

    ResultCode WALLET_WITHDRAW_NOT_FOUND = new ResultCode(1000010004, "钱包余额提现申请单不存在");
    ResultCode WALLET_WITHDRAW_STATUS_NOT_WAITING = new ResultCode(1000010004, "钱包余额提现单状态不处于提现中");
    ResultCode WALLET_WITHDRAW_AUDIT_FAIL_STATUS_ERROR = new ResultCode(1000010004, "钱包提现申请不处于待审核状态");


    //========== 积分模块 [1-000-140-000 ~ 1-000-141-000)=========//、
    //积分调整创建失败
    ResultCode POINT_ADJUST_CREATE_FAIL = new ResultCode(1000140001, "积分调整创建失败");
    //积分调整记录不存在
    ResultCode POINT_ADJUST_NOT_EXISTS = new ResultCode(1000140002, "积分调整记录不存在");
    //积分充值失败
    ResultCode POINT_RECHARGE_FAIL = new ResultCode(1000140003, "积分充值出错，请联系管理员");
    //成员自行充值功能未开启
    ResultCode POINT_RECHARGE_NOT_OPEN = new ResultCode(1000140004, "成员自行充值功能未开启");
    //校验充值金额是否大于0
    ResultCode POINT_RECHARGE_AMOUNT_LESS_THAN_ZERO = new ResultCode(1000140005, "校验充值金额是否大于0");
    //积分兑换失败
    //========== 礼物报备模块 [1-000-150-000 ~ 1-000-151-000)=========//
    //礼物报备数据不存在
    ResultCode GIFT_REPORT_NOT_EXISTS = new ResultCode(1000150001, "礼物报备数据不存在");

    //========== 老板报备模块 [1-000-160-000 ~ 1-000-161-000)=========//
    //老板报备数据不存在
    ResultCode BOSS_REPORT_NOT_EXISTS = new ResultCode(1000160001, "老板报备数据不存在");

    //========== 俱乐部预存模块 [1-000-170-000 ~ 1-000-171-000)=========//
    //俱乐部预存数据不存在
    ResultCode CLUB_PRESTORE_AMOUNT_NOT_EXISTS = new ResultCode(1000170001, "俱乐部预存数据不存在");
    //预存单修改金额不能小于当前余额
    ResultCode CLUB_PRESTORE_AMOUNT_MODIFY_AMOUNT_NOT_ENOUGH = new ResultCode(1000170002, "预存单修改金额不能小于当前余额");
    //存单人不是俱乐部管理员
    ResultCode CLUB_PRESTORE_AMOUNT_MEMBER_NOT_ADMIN = new ResultCode(1000170003, "存单人不是俱乐部管理员");
    //存单成员不是俱乐部成员
    ResultCode CLUB_PRESTORE_AMOUNT_MEMBER_NOT_CLUB_MEMBER = new ResultCode(1000170004, "存单成员不是俱乐部成员");
    //预存单余额不足

    //========== 俱乐部公告模块 [1-000-180-000 ~ 1-000-181-000)=========//
    //俱乐部公告数据不存在
    ResultCode CLUB_ANNOUNCE_NOT_EXISTS = new ResultCode(1000180001, "俱乐部公告数据不存在");

    //积分充值订单不存在
    ResultCode POINT_RECHARGE_ORDER_NOT_EXISTS = new ResultCode(1000140006, "积分充值订单不存在");

    //手续费不正确，请确认
    ResultCode POINT_RECHARGE_FEE_NOT_CORRECT = new ResultCode(1000140008, "手续费不正确，请确认");
    //积分充值支付金额不正确
    ResultCode POINT_RECHARGE_ORDER_AMOUNT_NOT_CORRECT = new ResultCode(1000140007, "积分充值支付金额不正确");

    //========== 陪玩评论模块 [1-000-190-000 ~ 1-000-191-000)=========//
    /**
     * 陪玩评论不存在
     */
    ResultCode COMPANION_COMMENT_NOT_EXISTS = new ResultCode(1000190001, "评论不存在");
    
    /**
     * 陪玩评论不可见
     */
    ResultCode COMPANION_COMMENT_NOT_VISIBLE = new ResultCode(1000190002, "评论不可见或已被隐藏");
    
    /**
     * 用户已对该订单评论过
     */
    ResultCode COMPANION_COMMENT_ALREADY_EXISTS = new ResultCode(1000190003, "您已对该订单进行过评论");
    
    /**
     * 评论回复失败
     */
    ResultCode COMPANION_COMMENT_REPLY_FAIL = new ResultCode(1000190004, "评论回复失败");
    
    /**
     * 评论已回复
     */
    ResultCode COMPANION_COMMENT_ALREADY_REPLIED = new ResultCode(1000190005, "该评论已回复");

    /**
     * 陪玩线下订单报备不存在
     */
    ResultCode OFFLINE_ORDER_REPORT_NOT_EXISTS = new ResultCode(1000150006, "陪玩线下订单报备不存在");

    /**
     * 返点流水不存在
     */
    ResultCode REBATE_FLOW_NOT_EXISTS = new ResultCode(1000005101, "返点流水不存在");
}